]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/screenshot: Check preconditions of public API
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 24 Mar 2020 07:45:12 +0000 (08:45 +0100)
committerCarlos Garnacho <mrgarnacho@gmail.com>
Tue, 24 Mar 2020 11:29:53 +0000 (11:29 +0000)
commitb4162afa65382ebe6451bcfea7d9e8173b12f726
tree97bd3f8c5e02a12f67c3467b3d2de3ab0d60597c
parenteb51942a051f18f5993914968fcefb00a56c3625
shell/screenshot: Check preconditions of public API

It's good practice to guard public API against programmer errors,
so add the usual g_return*_if_fail() calls.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1123
src/shell-screenshot.c